from selenium.webdriver.common.by import By
#qq空间
#1.qq启动
qq = By.XPATH, "//*[@text='QQ']"
#动态按钮
dt = By.XPATH, "//*[@text='动态']"
#添加动态按钮（+按钮）
add_space=By.ID,"com.tencent.mobileqq:id/dg0"
#说说按钮
say_btn = By.ID, "com.tencent.mobileqq:id/hkk"
##分享新鲜事
say=By.XPATH,"//*[@text='分享新鲜事...']"
#发表
fb=By.XPATH,"//*[@text='发表']"

app_login_tpshop = By.XPATH, "//*[@text='QQ']"
sleep(3)
# app_head = By.CLASS_NAME,'android.widget.ImageView'
# app_shezhi = By.ID, "com.tencent.mobileqq:id/sis"
app_shezhi = By.XPATH, "//*[@text='平板在线 - WiFi']"
sleep(3)
app_tui = By.ID, "com.tencent.mobileqq:id/dv8"
app_guan = By.XPATH, "//*[@text='确定退出']"
app_denglu = By.ID, "com.tencent.mobileqq:id/sis"
app_hao = By.XPATH, "//*[@text='一键登录']"